//
//  ViewController.swift
//  S002_Login
//
//  Created by yao_yu on 14-9-11.
//  Copyright (c) 2014年 yao_yu. All rights reserved.
//

import UIKit

class ViewController: UIViewController, YYCheckBoxDelegate {

    @IBOutlet weak var chkRemember: YYCheckBox!
    
    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view, typically from a nib.
        chkRemember.reInit()
        chkRemember.delegate = self
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }

    func didSelect(checkbox: YYCheckBox!, selected: Bool) {
        println(selected)
    }

}

